home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Graphics Samples / Spinning Text ƒ / graphics shell.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-20  |  812 b   |  27 lines  |  [TEXT/KAHL]

  1. /*
  2.     interfaces for a simple, one-window graphics shell
  3.     
  4.     ©1990 - 1992  Apple Computer, Inc.
  5.     All rights reserved.
  6. */
  7.  
  8. /* these things are kept up-to-date by the shell and may be accessed at any time by the application. */
  9. extern WindowPtr         gWindow;
  10. extern EventRecord         gtheEvent;
  11. extern gxShape         gWindowBoundsShape;
  12.  
  13. /* the following are expected to be initialized by the application */
  14. extern Rect             gWindowQDRect;
  15. extern Str255            gWindowTitle;
  16.  
  17. extern Boolean            gDebugging;
  18. extern Boolean            gGiveMeValidation;
  19. extern long            gGraphicsHeapSize;
  20.  
  21. /* the following functions are supplied by the application using the shell and are called at the appropriate time. */
  22. void DoInitialization(WindowPtr);
  23. void DoDraw(WindowPtr);
  24. void DoDispose(WindowPtr);
  25. void DoClick(gxPoint, WindowPtr);
  26. void DoIdle(WindowPtr);
  27.